define([''],function () {
    return {
        path: '/goto',
        name: 'goto',
        component: function (resolve) {
            const Foo = {
                template:get('vue/goto.vue').responseText,
                data: function () {
                    return {
                        name: 'goto',
                        a: 444
                    }
                },
                methods:{
                    test:function () {
                        this.a++;
                    }
                },
                created:function () {
                    this.a ++;
                    this.test();
                    localStorage.setItem('123',41);

                }
            };
            resolve(Foo);
        }
    }
});